
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Gitbook的那些事🌟 · Dragon GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Bruse-Lee">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="FileOnline.html" />
    
    
    <link rel="prev" href="secret.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://tinytalking.blackdragonlee.com/login" target="_blank" class="custom-link">MyTinyTalk</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">简介</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">My Life👓</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="Family.html">
            
                <a href="Family.html">
            
                    
                    👦🏼全家福
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="ListBook.html">
            
                <a href="ListBook.html">
            
                    
                    百科全书📕
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="Basketball.html">
            
                <a href="Basketball.html">
            
                    
                    篮球🤾🏾‍♂️所带给我的一切
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="secret.html">
            
                <a href="secret.html">
            
                    
                    与老友🧙🏼‍♂️彻夜长谈的秘密
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">My Technical Summary🧰</li>
        
        
    
        <li class="chapter active" data-level="3.1" data-path="book.html">
            
                <a href="book.html">
            
                    
                    Gitbook的那些事🌟
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="FileOnline.html">
            
                <a href="FileOnline.html">
            
                    
                    💥项目上线的那些事
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="lock.html">
            
                <a href="lock.html">
            
                    
                    🤔悲观锁和😀乐观锁
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="ShareHand.html">
            
                <a href="ShareHand.html">
            
                    
                    三次握手🤝,四次挥手👋得这么讲
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="RemoveRestrictions.html">
            
                <a href="RemoveRestrictions.html">
            
                    
                    解除网盘下载速度限制🚀
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="Bilibili.html">
            
                <a href="Bilibili.html">
            
                    
                    📺小破站的爱恨情仇
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">My Technical Document⏳</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="CSharp/">
            
                <a href="CSharp/">
            
                    
                    C#设计模式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="CSharp/Singleton.html">
            
                <a href="CSharp/Singleton.html">
            
                    
                    第一节-单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="CSharp/Factory.html">
            
                <a href="CSharp/Factory.html">
            
                    
                    第二节-简单工程和工厂方法模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="Redis/Redis.html">
            
                <a href="Redis/Redis.html">
            
                    
                    Redis缓存三大问题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="Redis/penetrate.html">
            
                <a href="Redis/penetrate.html">
            
                    
                    001-缓存穿透
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="Redis/breakdown.html">
            
                <a href="Redis/breakdown.html">
            
                    
                    002-缓存击穿
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="Redis/avalanche.html">
            
                <a href="Redis/avalanche.html">
            
                    
                    003-缓存雪崩
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">My Practice Topic</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="LeetCode/">
            
                <a href="LeetCode/">
            
                    
                    LeetCode刷题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.1" data-path="LeetCode/Sum.html">
            
                <a href="LeetCode/Sum.html">
            
                    
                    001-两数之和
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.2" data-path="LeetCode/Ice.html">
            
                <a href="LeetCode/Ice.html">
            
                    
                    002-雪糕的最大数量
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >Gitbook的那些事🌟</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="gitbook&#x7684;&#x90A3;&#x4E9B;&#x4E8B;">Gitbook&#x7684;&#x90A3;&#x4E9B;&#x4E8B;</h1>
<h2 id="&#x5B89;&#x88C5;&#x7BC7;">&#x5B89;&#x88C5;&#x7BC7;</h2>
<ol>
<li><p><strong>&#x56E0;&#x4E3A;Gitbook&#x662F;&#x57FA;&#x4E8E;node.js&#x7684;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;,&#x6240;&#x4EE5;node.js&#x8BF7;&#x81EA;&#x884C;&#x5B89;&#x4E0A;,&#x8FD9;&#x91CC;&#x6211;&#x65E9;&#x5C31;&#x5B89;&#x4E86;,&#x5C31;&#x4E0D;&#x628A;&#x5730;&#x5740;&#x653E;&#x4E0A;&#x6765;&#x4E86;</strong></p>
</li>
<li><p><strong>&#x56E0;&#x4E3A;node.js&#x90FD;&#x4F1A;&#x9ED8;&#x8BA4;&#x5B89;&#x88C5;npm(node&#x5305;&#x7BA1;&#x7406;&#x5DE5;&#x5177;),&#x6240;&#x4EE5;&#x4E5F;&#x4E0D;&#x7528;&#x5355;&#x72EC;&#x5B89;&#x88C5;npm,&#x7528;VsCode&#x6253;&#x5F00;&#x7EC8;&#x7AEF;,&#x76F4;&#x63A5;&#x6267;&#x884C;Gitbook&#x5B89;&#x88C5;&#x547D;&#x4EE4;</strong></p>
<blockquote>
<p><code>npm install -g gitbook-cli</code></p>
</blockquote>
</li>
</ol>
<h3 id="gitbook&#x7684;&#x4F7F;&#x7528;">Gitbook&#x7684;&#x4F7F;&#x7528;</h3>
<ol>
<li><strong>&#x5728;&#x60F3;&#x8981;&#x7684;&#x4F4D;&#x7F6E;&#x521B;&#x5EFA;&#x6587;&#x4EF6;&#x5939;,VsCode&#x6253;&#x5F00;,&#x63A5;&#x7740;&#x8F93;&#x5165;&#x521D;&#x59CB;&#x5316;&#x547D;&#x4EE4;</strong><blockquote>
<p><code>gitbook init</code></p>
</blockquote>
</li>
</ol>
<p><strong>&#x6267;&#x884C;&#x5B8C;&#x4F1A;&#x51FA;&#x73B0;&#x4EE5;&#x4E0B;&#x4E24;&#x4E2A;&#x6587;&#x4EF6;</strong></p>
<ul>
<li><strong>README.md&#xFF08;&#x4E66;&#x7C4D;&#x7684;&#x4ECB;&#x7ECD;&#x5728;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x91CC;&#xFF09;</strong></li>
<li><strong>SUMMARY.md&#xFF08;&#x4E66;&#x7C4D;&#x7684;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x5728;&#x8FD9;&#x91CC;&#x914D;&#x7F6E;&#xFF09;</strong></li>
</ul>
<p><strong>&#x7136;&#x540E;&#x683C;&#x5F0F;&#x7C7B;&#x4F3C;&#x662F;&#x8FD9;&#x6837;&#x7684;</strong></p>
<pre><code># Summary

* [Introduction](README.md)
* [&#x524D;&#x8A00;](readme.md)
* [&#x7B2C;&#x4E00;&#x7AE0;](part1/README.md)
    * [&#x7B2C;&#x4E00;&#x8282;](part1/1.md)
    * [&#x7B2C;&#x4E8C;&#x8282;](part1/2.md)
    * [&#x7B2C;&#x4E09;&#x8282;](part1/3.md)
    * [&#x7B2C;&#x56DB;&#x8282;](part1/4.md)
* [&#x7B2C;&#x4E8C;&#x7AE0;](part2/README.md)
* [&#x7B2C;&#x4E09;&#x7AE0;](part3/README.md)
* [&#x7B2C;&#x56DB;&#x7AE0;](part4/README.md)
</code></pre><p><strong>&#x8BED;&#x6CD5;&#xFF1A;&#x4E2D;&#x62EC;&#x53F7;&#x91CC;&#x662F;&#x8FD9;&#x4E2A;&#x76EE;&#x5F55;&#x7684;&#x540D;&#x5B57;&#xFF0C;&#x5C0F;&#x62EC;&#x53F7;&#x91CC;&#x662F;&#x8DEF;&#x5F84;</strong></p>
<blockquote>
<p><strong>&#x5199;&#x5B8C;&#x76EE;&#x5F55;&#x540E;&#x518D;&#x6B21;&#x6267;&#x884C;<code>gitbook init</code> Gitbook&#x4F1A;&#x67E5;&#x627E;SUMMARY.md&#x4E2D;&#x63CF;&#x8FF0;&#x7684;&#x76EE;&#x5F55;&#x548C;&#x6587;&#x4EF6;&#xFF0C;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x5219;&#x4F1A;&#x521B;&#x5EFA;</strong></p>
</blockquote>
<hr>
<h2 id="&#x95EE;&#x9898;&#x7BC7;">&#x95EE;&#x9898;&#x7BC7;</h2>
<p><strong>&#x95EE;&#x9898;&#x4E00;&#xFF1A;</strong></p>
<blockquote>
<p>&#x9519;&#x8BEF;&#x63D0;&#x793A;:
<img src="IMG/&#x5B89;&#x88C5;gitbook&#x9519;&#x8BEF;&#x63D0;&#x793A;.png" alt=""></p>
<p>&#x89E3;&#x51B3;&#x65B9;&#x6848;&#xFF1A;&#x1F447;</p>
<blockquote>
<ol>
<li>&#x4EE5;&#x7BA1;&#x7406;&#x5458;&#x8EAB;&#x4EFD;&#x8FD0;&#x884C;Windos PowerShell</li>
<li>&#x8F93;&#x5165;set-ExecutionPolicy RemoteSigned,<strong>&#x66F4;&#x6539;&#x6743;&#x9650;&#x4E3A;A</strong></li>
</ol>
</blockquote>
</blockquote>
<font color="redblue">&#x95EE;&#x9898;&#x89E3;&#x51B3;!</font>

<p><strong>&#x95EE;&#x9898;&#x4E8C;&#xFF1A;</strong></p>
<blockquote>
<p>&#x5728;&#x521D;&#x59CB;&#x7535;&#x5B50;&#x4E66;(<code>gitbook init</code>)&#x7684;&#x65F6;&#x5019;&#x51FA;&#x73B0;<code>TypeError: cb.apply is not a function</code></p>
<p>&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x1F447;</p>
<blockquote>
<p>&#x6253;&#x5F00;<code>polyfills.js</code>&#x6587;&#x4EF6;&#xFF0C;&#x627E;&#x5230;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;</p>
</blockquote>
</blockquote>
<p>&#x5728;&#x7B2C;62-64&#x884C;&#x8C03;&#x7528;&#x4E86;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;,&#x5168;&#x6CE8;&#x91CA;&#x4E86;&#x1F447;</p>
<pre><code>fs.stat = statFix(fs.stat)
fs.fstat = statFix(fs.fstat)
fs.lstat = statFix(fs.lstat)
</code></pre><font color="redblue">&#x95EE;&#x9898;&#x89E3;&#x51B3;!</font> 

<footer class="page-footer"><span class="copyright">Copyright &#xA9; book.blackdragonlee.com 2021 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x5185;&#x5BB9;&#x66F4;&#x65B0;&#x65F6;&#x95F4;&#xFF1A;
2021-06-25 22:04:08
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="secret.html" class="navigation navigation-prev " aria-label="Previous page: 与老友🧙🏼‍♂️彻夜长谈的秘密">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="FileOnline.html" class="navigation navigation-next " aria-label="Next page: 💥项目上线的那些事">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Gitbook的那些事🌟","level":"3.1","depth":1,"next":{"title":"💥项目上线的那些事","level":"3.2","depth":1,"path":"FileOnline.md","ref":"FileOnline.md","articles":[]},"previous":{"title":"与老友🧙🏼‍♂️彻夜长谈的秘密","level":"2.4","depth":1,"path":"secret.md","ref":"secret.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters","back-to-top-button","-lunr","-search","search-pro","splitter","tbfed-pagefooter","github","pageview-count","page-toc-button","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy book.blackdragonlee.com 2021","modify_label":"该内容更新时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"pluginsConfig":{"page-toc-button":{"maxTocDepth":2,"minTocSize":2}},"github":{"url":"https://github.com/Bruse-Lee"},"livereload":{},"splitter":{},"search-pro":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"page-toc-button":{},"back-to-top-button":{},"pageview-count":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"Bruse-Lee","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Dragon GitBook","language":"zh-hans","links":{"sidebar":{"MyTinyTalk":"http://tinytalking.blackdragonlee.com/login"}},"gitbook":"*","description":"记录日常学习的技术文档与生活趣事"},"file":{"path":"book.md","mtime":"2021-06-25T14:04:08.963Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-07-02T13:59:02.253Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

